# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CategoryInfo(object):

    def __init__(self, categories=None, hintThreshold=None, confirmThreshold=None):
        """
        :param categories: (Optional) 图片智能鉴黄子项(porn色情，sexy性感，vulgar低俗)，图片涉政暴恐子项(politics涉政，terrorist涉恐人物，explosion爆炸烟光，weapon武器，riot暴乱，flag旗帜)，图片图文广告子项(politics文字含涉政，porn文字含涉黄，terrorism文字含暴恐，qrcode二维码，barcode条形码，contact联系方式)，文本反垃圾子项（porn色情，politics涉政，terrorism涉恐，abuse辱骂，ad广告，illegal违禁，unuse灌水）语音反垃圾子项（porn色情，politics涉政，terrorism涉恐）视频涉黄检测porn（无子项），视频涉政暴恐terrorism（无子项）视频图文违规ad（无子项）
        :param hintThreshold: (Optional) 疑似分值
        :param confirmThreshold: (Optional) 违规分值
        """

        self.categories = categories
        self.hintThreshold = hintThreshold
        self.confirmThreshold = confirmThreshold
